﻿@model PartyManagement.Models.Menu

@{
    ViewBag.Title = "Create";
   Layout = "~/Views/Shared/_MyLayout.cshtml";
    string evenID = ViewBag.eventID as string;
    
}

<h2>Create Menu of event <strong style="color:#2E81B8">@ViewBag.eventName </strong></h2>

@using (Html.BeginForm("Create","Menu",FormMethod.Post)) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Menu</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.menuName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.menuName)
            @Html.ValidationMessageFor(model => model.menuName)
        </div>

       
        <div class="editor-field">
            @Html.Hidden("eventID", evenID)


        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to Event", "Index","BookEvent")
</div>

@*@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}*@
